package com.study.www.entity;

import com.baidu.bjf.remoting.protobuf.FieldType;
import com.baidu.bjf.remoting.protobuf.annotation.Packed;
import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class Dept{
    @Packed(false)
    @Protobuf(fieldType = FieldType.STRING,order = 1)
    private String id;

    @Protobuf(fieldType = FieldType.STRING,order = 2)
    private String name;

    @Protobuf(fieldType = FieldType.INT64,order = 3)
    private Long createTimeLong;
}
